<template>
	<view class="container"> 
		<view class="intro">主包页面1111</view> 
		<!-- <uni-link :href="hrefA" :text="'pagesA包页面'"></uni-link>
		<uni-link :href="hrefB" :text="'pagesB包页面'"></uni-link> -->
		<navigator :url="hrefA">pagesA包页面</navigator>
		<navigator :url="hrefB">pagesB包页面</navigator>
		<button type="default" @click="goto()">pagesA包页面</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				hrefA: '/pagesA/index/index',
				hrefB: '/pagesB/index/index'
			}
		},
		methods: { 
			goto(){
				uni.navigateTo({
					url:'/pagesA/index/index'
				})
			}
		}
	}
</script>

<style>
	.container {
		padding: 20px;
		font-size: 14px;
		line-height: 24px;
	}
</style>
